package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;
import java.util.Date;
import java.util.Date;
import java.util.Date;
import java.util.Date;
import com.mdd.common.validator.annotation.IDMust;

/**
 * 群组基本信息参数
 * @author LikeAdmin
 */
@Data
@ApiModel("群组基本信息更新参数")
public class ZhikeGroupBaseUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @IDMust(message = "gId参数必传且需大于0")
    @ApiModelProperty(value = "id")
    private String gId;

    @NotNull(message = "groupNumber参数缺失")
    @ApiModelProperty(value = "群号码")
    private String groupNumber;

    @NotNull(message = "groupStatus参数缺失")
    @ApiModelProperty(value = "状态")
    private Integer groupStatus;

    @NotNull(message = "groupName参数缺失")
    @ApiModelProperty(value = "群名")
    private String groupName;

    @ApiModelProperty(value = "群主")
    private Long groupOwnerUserUid;

    @ApiModelProperty(value = "群公告")
    private String groupNotice;

    @NotNull(message = "maxMemberCount参数缺失")
    @ApiModelProperty(value = "群人数上限")
    private Long maxMemberCount;

    @ApiModelProperty(value = "")
    private Long groupMemberCount;

    @ApiModelProperty(value = "群首次建立者id。")
    private Long createUserUid;

    @ApiModelProperty(value = "")
    private Date createTime;

}
